<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        
        <div class="col-sm-2">
            <ui-select ng-model="searchform.type" theme="bootstrap" >
                <ui-select-match placeholder="请选择字典类型">
                    {{$select.selected.type}}
                </ui-select-match>
                <ui-select-choices repeat="item.type as item in datas | filter: $select.search">
                    <span ng-bind-html="item.type | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.info" placeholder="描述">            
        </div>
        <div class="col-sm-2 col-sm-offset-4">
            <button type="button" class="btn btn-block btn-info" ng-click="search()">立即搜索</button>
        </div>
        <div class="col-sm-2">
          <button type="button" class="btn btn-block btn-info" ng-click="adddic()">添加字典</button>
        </div>

    </div>

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-1 text-center">键值</th>
                    <th class="col-md-1 text-center">标签</th>
                    <th class="col-md-2 text-center">类型</th>
                    <th class="col-md-2 text-center">描述</th>
                    <th class="col-md-1 text-center">排序</th>
                    <th class="col-md-1 text-center">是否有效</th>
                    <th class="col-md-1 text-center">显示状态</th>
                    <th class="col-md-3 text-center">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.code}}</td>
                    <td class="text-center">{{obj.label}}</td>
                    <td class="text-center">{{obj.type}}</td>
                    <td class="text-center">{{obj.info}}</td>
                    <td class="text-center">{{obj.asort}}</td>
                    <td class="text-center">
                        <p ng-show="obj.status == '0'">无效</p>
                        <p ng-show="obj.status == '1'">有效</p>
                    </td>
                    <td class="text-center">
                        <p ng-show="obj.display_status  == '0'">隐藏</p>
                        <p ng-show="obj.display_status  == '1'">显示</p>
                    </td>
                    <td class="text-center">
                      <a ng-click="change(obj.id)" class="btn btn-info btn-xs">编辑</a>
                      <a ng-click="delete(obj.id)" class="btn btn-danger btn-xs">删除</a>
                    </td>
                </tr>
                </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>



     


